package thisDemo;

class Person{
    private int age;
    private String name;
    private String gender;
    public Person(){
        System.out.println("空参构造函数执行···");
    }
    public Person(int age,String name,String gender){
        this();
        this.age = age;
        this.name = name;
        this.gender = gender;
        System.out.println("有参构造函数执行···");
    }
}

public class demo1 {
    public static void main(String[] args) {
        Person p = new Person(28,"苏新皓","男");
    }
}
